package crudfx.util;

import javafx.async.*;
import java.net.*;
import javax.swing.*;

/**
 * @profile desktop
 * @author Sergey Surikov
 */
public class RunnableFutureTask implements RunnableFuture {

    public URL url;
    public JEditorPane jEditorPane;

    @Override
    public void run() throws Exception {
        //Thread.sleep(5000);
        //jEditorPane.setPage(url);
        com.sun.javafx.runtime.Entry.deferAction(new Runnable() {

            public void run() {
                //listener.callback(msg);
            }
        });

    }
}
